#ifndef _NAT_H
#define _NAT_H
struct NATRecord * addNATRuleToChain(struct NATRecord rule);
struct NATRecord *matchNATRule(unsigned int sip, unsigned int dip, int *isMatch) ;

struct NATRecord genNATRecord(unsigned int preIP, unsigned int afterIP, unsigned short prePort, unsigned short afterPort);
void* formAllNATRules(unsigned int *len);

#endif